 <{include file="web/header.html"}>
 <!--主要内容区-->
  <div class="container">
    <div class="row">
      <!--左侧内容-->
      <div class="col-xs-8">
      <{foreach from=$result item=wx}>
      	<div class="panel">
            <div class="panel-body">
              <div class="title-heading"><strong><a href="<{spUrl c=main a=zzDetails id=$wx.id}>"><{$wx.title}></a></strong> <span class="label label-warning" style="float:right;"><{$wx.niandai}></span></div>
              
              <div class="content-content text-muted">
                <div class="col-xs-8"><{$wx.intro|strip_tags|truncate:120:"...":true}></div>
                <div class="col-xs-3"><div class="media pull-right"><a href="<{spUrl c=main a=zzDetails id=$wx.id}>"><img src="<{$wx.pic}>" style="width:105px;height:150px" alt=""></a></div></div>                
              </div>
            </div>
            <div class="panel-footer">
              <div class="btn-group">
                <button class="btn" onclick="xihuan('zz',<{$wx.id}>,this)"><i class="icon icon-heart-empty"></i></button>
                <!--<button class="btn" data-toggle="collapse" data-target="#collapseComment"><i class="icon icon-comment-alt"></i></button>-->
                <button class="btn" onclick="wechat('zz',<{$wx.id}>,this)"><i class="icon icon-wechat"></i></button>
              </div>
              <div style="float:right;"></div>
              <br >
              <div class="collapse" id="collapseWechat_<{$wx.id}>">
                <div class="bg-primary with-padding">
                  <p><img src="" alt='' id="imgqcode_<{$wx.id}>" style="width:108px;height:108px;" /></p>
                </div>
              </div>
            </div>
          </div>  
      <{/foreach}>
      <{if $pager}>
      <ul class="pager pager-pills pager-loose">
        <{if $pager.current_page != $pager.firf_page}>
        <li class="previous"><a href="<{spUrl c=main a=zuoze f=$f v=$v page=$pager.prev_page}>">上一页</a></li>
        <{/if}>
        <{foreach from=$pager.all_pages item=thepage}>
              <{if $thepage lte $pager.current_page+5 &&  $thepage gte $pager.current_page-5}>
                  <{if $thepage != $pager.current_page}>
                     <li><a href="<{spUrl c=main a=zuoze f=$f v=$v page=$thepage}>"><{$thepage}></a></li>                     
                  <{else}>
                      <li class="active"><a href="#"><{$thepage}></a></li> 
                  <{/if}>
              <{/if}>
        <{/foreach}>
        <{if $pager.current_page != $pager.laf_page}>
        <li class="next"><a href="<{spUrl c=main a=zuoze f=$f v=$v page=$pager.next_page}>">下一页</a></li>
        <{/if}>
      </ul>
      <{/if}>
      </div>
      <!--右侧内容-->
      <div class="col-xs-3">
      	<div class="panel panel-primary">
          <div class="panel-heading">
            <h4>类别</h4>
          </div>
          <div class="panel-body">
            <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='唐诗三百首'}>">唐诗三百首</a>
            <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='宋词精选'}>">宋词精选</a>
            <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='小学古诗'}>">小学古诗</a>
            <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='初中古诗'}>">初中古诗</a>
            <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='高中古诗'}>">高中古诗</a>
            <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='元宵节'}>">元宵节</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='寒食节'}>">寒食节</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='清明节'}>">清明节</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='端午节'}>">端午节</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='七夕节'}>">七夕节</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='中秋节'}>">中秋节</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='重阳节'}>">重阳节</a>
            <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='梅花'}>">梅花</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='菊花'}>">菊花</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='荷花'}>">荷花</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='柳树'}>">柳树</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='月亮'}>">月亮</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='山水'}>">山水</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='长江'}>">长江</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='黄河'}>">黄河</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='儿童'}>">儿童</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='田园'}>">田园</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='边塞'}>">边塞</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='地名'}>">地名</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='抒情'}>">抒情</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='爱国'}>">爱国</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='离别'}>">离别</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='送别'}>">送别</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='思乡'}>">思乡</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='思念'}>" >思念</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='爱情'}>">爱情</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='励志'}>">励志</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='哲理'}>">哲理</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='闺怨'}>">闺怨</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='悼亡'}>">悼亡</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='老师'}>">老师</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='友情'}>">友情</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='母亲'}>">母亲</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='战争'}>">战争</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='读书'}>">读书</a> 
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='tags' v='春节'}>">春节</a>
          </div>
        </div>
        <div class="panel panel-primary">
          <div class="panel-heading">
            <h4>作者</h4>
          </div>
          <div class="panel-body">
          	<a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='白居易'}>">白居易</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='辛弃疾'}>">辛弃疾</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='李清照'}>">李清照</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='刘禹锡'}>">刘禹锡</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='李商隐'}>">李商隐</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='陶渊明'}>">陶渊明</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='孟浩然'}>">孟浩然</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='柳宗元'}>">柳宗元</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='王安石'}>">王安石</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='欧阳修'}>">欧阳修</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='韦应物'}>">韦应物</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='温庭筠'}>">温庭筠</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='刘长卿'}>">刘长卿</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='王昌龄'}>">王昌龄</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='杨万里'}>">杨万里</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='诸葛亮'}>">诸葛亮</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='范仲淹'}>">范仲淹</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='陆龟蒙'}>">陆龟蒙</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='晏几道'}>">晏几道</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='周邦彦'}>">周邦彦</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='杜荀鹤'}>">杜荀鹤</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='吴文英'}>">吴文英</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='马致远'}>">马致远</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='皮日休'}>">皮日休</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='左丘明'}>">左丘明</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='张九龄'}>">张九龄</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='权德舆'}>">权德舆</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='黄庭坚'}>">黄庭坚</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='司马迁'}>">司马迁</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='皇甫冉'}>">皇甫冉</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='卓文君'}>">卓文君</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='文天祥'}>">文天祥</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='刘辰翁'}>">刘辰翁</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='陈子昂'}>">陈子昂</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='author' v='纳兰性德'}>">纳兰性德</a>  
          </div>
        </div>
        <div class="panel panel-primary">
          <div class="panel-heading">
            <h4>朝代</h4>
          </div>
          <div class="panel-body">
          	 <a class="btn btn-link" href="<{spUrl c=main a=gushi f='dynafy' v='先秦'}>">先秦</a>
              <a class="btn btn-link" href="<{spUrl c=main a=gushi f='dynafy' v='两汉'}>">两汉</a>
              <a class="btn btn-link" href="<{spUrl c=main a=gushi f='dynafy' v='魏晋'}>">魏晋</a>
              <a class="btn btn-link" href="<{spUrl c=main a=gushi f='dynafy' v='南北朝'}>">南北朝</a>
              <a class="btn btn-link" href="<{spUrl c=main a=gushi f='dynafy' v='隋代'}>">隋代</a>
              <a class="btn btn-link" href="<{spUrl c=main a=gushi f='dynafy' v='唐代'}>">唐代</a>
              <a class="btn btn-link" href="<{spUrl c=main a=gushi f='dynafy' v='五代'}>">五代</a>
              <a class="btn btn-link" href="<{spUrl c=main a=gushi f='dynafy' v='宋代'}>">宋代</a>
              <a class="btn btn-link" href="<{spUrl c=main a=gushi f='dynafy' v='金朝'}>">金朝</a>
              <a class="btn btn-link" href="<{spUrl c=main a=gushi f='dynafy' v='明代'}>">明代</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='dynafy' v='清代'}>">清代</a>
                <a class="btn btn-link" href="<{spUrl c=main a=gushi f='dynafy' v='近现代'}>">近现代</a>
          </div>
        </div>
      </div>
   </div>
 <{include file="web/footer.html"}>